<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>Document</title>


    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/css/jquery-weui.css">
    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/demos/css/demos.css">

            <link rel="stylesheet" href="__PUBLIC__/static/bootstrap/css/bootstrap.min.css">


</head>
<body>

<div class="main_s">

<a href="{:U('index',['time'=>1,'mvid'=>$mid])}" style="text-decoration:none;"> <div class="weui_cell">
        <div class="weui_cell_bd weui_cell_primary">
           <b style="font-size: 16px"><p class="movie-name">{$uname[uname]}(<?php echo mb_substr($uname[uadd], 0, 2, 'utf-8')?>店)</p></b>
            <p class="movie-summary">{$uname[uadd]}</p>
        </div>
        <div class="weui_cell_ft">
            <div class="movie-point"><p class="glyphicon glyphicon-chevron-right"></p></div>
        </div>
    </div></a>

    <div class="weui_cell">
        <div class="weui_cell_hd"><img src="__PUBLIC__/html/jquery-weui/demos/images/zhuo.jpg" alt="" width="25" style="margin-top: -10px"></div>
        <div class="weui_cell_bd weui_cell_primary">
            <p><b style="font-size: 16px">选座购票</b>(电影一分钟前关闭在线售票)</p>
        </div>
    </div>


    <div style="border:6px solid #F3F3F5;"></div>

    <style>

        .navtab {
            display: -webkit-flex;
            display: flex;
        }

        .navtab .item {
            -webkit-flex: 1;
            flex: 1;
            line-height: 45px;
            text-align: center;
            color: #333;
        }

        .navtab .item.active {
            color: #36CA71;
            border-bottom: 2px solid #36CA71;
        }
    </style>

    <div class="navtab">

        <a href="{:U('season',['id'=>$id,'time'=>1,'uname'=>$uname[uname],'uadd'=>$uname[uadd]])}" class="item <?php echo $td?'active':'' ?>">
            今天{$today}
        </a>
        <a href="{:U('season',['id'=>$id,'time'=>2,'uname'=>$uname[uname],'uadd'=>$uname[uadd]])}" class="item <?php echo $tm?'active':'' ?>">
            明天{$tomorrow}
        </a>
        <a href="{:U('season',['id'=>$id,'time'=>3,'uname'=>$uname[uname],'uadd'=>$uname[uadd]])}" class="item <?php echo $ac?'active':'' ?>">
            后天{$acquired}
        </a>
        <a href="{:U('season',['id'=>$id,'time'=>4,'uname'=>$uname[uname],'uadd'=>$uname[uadd]])}" class="item <?php echo $wk?'active':'' ?>">
            本周{$week}
        </a>
    </div>

 <empty name='data'>
           <center><p style="font-size:30px" class="weui_panel_ft">暂无电影场次</p>
           <else />
<foreach name='data' item='val'>
<a href="{:U('Sead/index',['ftime'=>$val['time'],'jtime'=>$val['ml'],'yy'=>$val['lg'],'rname'=>$val['rname'],'price'=>$val['p'],'sid'=>$val['sid'],'rid'=>$val['rid']])}" style="text-decoration:none;"><div class="weui_cell">
    <div class="weui_cell_bd weui_cell_primary">
        <div class="weui_cell">
            <div class="weui_cell_hd">
                <div style="font-weight: bold;font-size: 20px;"><?php echo date('H:i',$val['time']) ?></div>
                <div style="font-size: 15px;color: #ADADAD;"><?php echo date('H:i',$val['ml']) ?>结束</div>
            </div>
            <div class="weui_cell_bd weui_cell_primary" style="margin-left: 50px;">
                <div style="font-size: 15px;">{$val['lg']}</div>
                <div style="color: #ADADAD;">{$val['rname']}</div>
            </div>
            <div class="weui_cell_ft">
                <div class="movie-point">￥<b><span style="font-size: 25px;color:#F38984">{$val['p']}</span></b></div>
            </div>
        </div>
    </div>
</div></a> 
</foreach>
</empty>

</div>
<script src="__PUBLIC__/html/jquery-weui/lib/jquery-2.1.4.js"></script>
<script src="__PUBLIC__/html/jquery-weui/js/jquery-weui.js"></script>
</body>
</html>